#include<iostream> 
using namespace std;
int main()
{
	int h;
	cin>>h;
	printf("%.1f",(double)(h-100)*0.9*2);
	return 0;
}
